package com.higold.cloud.mvp.contract

import com.higold.cloud.base.IBaseView
import com.higold.cloud.base.IPresenter
import com.higold.cloud.mvp.model.bean.achievedetailbean.AchieveDetail

/**
 *    author : lxz
 *    date   : 2019/8/30 16:42
 *    desc   :
 */
interface AchieveDetailContract {

    interface View : IBaseView {
         /**
         * 设置 AchieveDetail
         */
        fun setAchieveDetail(achieveDetail: AchieveDetail)

        fun showError(errorMsg: String, errorCode: Int)
    }


    interface Presenter : IPresenter<View> {
        /**
         * 获取 AchieveDetail
         */
        fun getAchieveDetail(user_code: String)
    }
}